package com.huilian.iotbox.data.vo;

import com.huilian.iotbox.data.po.StatsDevice;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 龙 路 飞
 * @CreateDate: 2021-09-18 16:06
 * @Description:
 */
@Data
public class StatsDeviceVo extends StatsDevice {
    private String storeName;
    /**设备类型**/
    private String deviceTypeName;
    private Integer alias;

    private Integer giftType;
    /**
     * 1、线下投币 2、线上投币
     */
    private Integer coinType;
    /**
     * 礼品出率
     */
    private BigDecimal giftOutRate;

    private List<StatsDeviceVo> statsDeviceVoList;
    private List<MerchantStoreVo> merchantStoreVoList;
    /**
     * 投币总币
     */
    private Integer insertCoinTotal;
    /**
     * 投币总次数
     */
    private Integer insertCoinCount;

    /**
     * 投币消费总次数（不包含兑币机）
     */
    private Integer consumeRecordCount;

    /**
     * 设备备注名称，方便记忆
     */
    private String remarkName;
    private Integer deviceId;
    /**
     * 现金收款
     */
    private BigDecimal cashMoney;

    private Integer consumeRecordTypeId;
    /**
     * 兑币机出币总数=线上购买线下纸钞硬币+在线取币+在线核销
     */
    private Integer outCoinTotal;
    /**
     * 兑币机出币总数——>线上购买出币（直接购买）
     **/
    private Integer onLinePayOutCoinTotal;
    /**
     * 兑币机出币总数——>线下购买出币（纸钞、硬币）
     **/
    private Integer offLinePayOutCoinTotal;

    /**
     * 兑币机出币总数——>在线取币
     **/
    private Integer fetchMemberOutCoinTotal;

    /** 出礼总数 **/
    private Integer tuiLiIncrementTotal;

    /** 出礼总成本价 **/
    private BigDecimal totalCostPrice;


    private Integer consume;

    private Integer insertCoinOnLine;
    private Integer insertCoinOffline;
    private Integer deviceAlias;

    /**
     * 格式化后出礼数
     */
    private Integer giftConsumeFormat;
    /**
     * 格式化后投币数
     */
    private Integer insertCoinTotalFormat;

    /**
     * 活动营业额
     */
    private BigDecimal activityTurnover;

    /**
     * 微信核销总币数 weiXinSeckillOutCoinTotal+weiXinGroupBuyingOutCoinTotal+weiXinVoucherOutCoinTotal
     */
    private Integer couponCardOutCoinTotal;
    private Integer weiXinSeckillOutCoinTotal;
    private Integer meiTuanOutCoinTotal;
    private Integer artificialOutCoinTotal;

    private String weixinTypeIdStr;

    private Integer rateEach;

    /**
     * 成本价
     * */
    private BigDecimal retailPrice;

    /**
     * 图片
     * */
    private String fileName;

    /**
     * 利润
     * */
    private BigDecimal profit;

    /**
     * 金额
     * */
    private BigDecimal price;

    /**
     * 礼品总出量
     * */
    private Integer totalQuantity;
    private BigDecimal costPrice;

    /**
     * 总销售额
     * */
    private BigDecimal totalRetailPrice;

    private Integer onLineCoinCount;
    private Integer offLineCoinCount;
    private BigDecimal giftCost;
    private Integer consumeCount;
    private Integer freightLane;
    private Integer hierarchy;

    private BigDecimal turnoverDouYin;
    private BigDecimal turnoverMeiTuan;
    private BigDecimal seckillMoney;
    private BigDecimal groupBookingMoney;
    private BigDecimal consumptionOfRedEnvelopesMoney;
    private BigDecimal memberOfTheStoredValueMoney;
}
